package com.sqx.modules.creation.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class GetCreationListVo {

    private String userAvatar;

    private String userName;

    /**
     * 创作id
     */
    @TableId(value = "creation_id", type = IdType.AUTO)
    private Integer creationId;

    /**
     * 创作标题
     */
    @TableField("creation_title")
    private String creationTitle;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 创作类别：1图文2视频
     */
    @TableField("creation_classify")
    private Integer creationClassify;

    @TableField("label_id")
    private Integer labelId;

    private String labelName;

    /**
     * 1个人发布2社区作品
     */
    @TableField("creation_type")
    private Integer creationType;

    /**
     * 创作图片
     */
    @TableField("creation_picture")
    private String creationPictures;
    private String[] creationPicture;
    /**
     * 城市
     */
    private String creationCity;

    /**
     * 创作文章
     */
    @TableField("creation_write")
    private String creationWrite;

    /**
     * 创作视频
     */
    @TableField("creation_video")
    private String creationVideo;
    /**
     * 视频封面
     */
    private String creationVideoPicture;
    /**
     * 点赞数
     */
    private Integer goodNum;

//    /**地址信息*/
//    private String creationAddress;
//    /**类目id*/
//    private Integer categoryId;

    /**
     * 0=待审核、1=已驳回、2=已通过、3=删除
     */
    @TableField("creation_status")
    private Integer creationStatus;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


}
